@layout("/common/_container.html",{js:["/assets/modular/system/project/project_wsjdReport.js"]}){
<link rel="stylesheet" href="${ctxPath}/assets/common/css/project.css?v=${constants.getReleaseVersion()}" media="all">
<style>
    .red {
        color:red;
    }
    .green {
        color:green;
    }
    table tr div.layui-table-cell{
        height: auto;
    }
</style>

<div class="layui-body-header">
    <span class="layui-body-header-title">管理</span>
</div>
<form id="projectForm" lay-filter="projectForm" class="layui-form model-form">
    <div class="layui-fluid">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
                <div class="layui-card">
                    <div class="layui-card-body">
                        <div class="layui-form toolbar">
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <div class="layui-inline w110" style="display: inline-block">
                                        <input id="name" name="name" placeholder="工程名" type="text"
                                               class="layui-input" required autocomplete="off" style="width: 150px"/>
                                    </div>
                                </div>
                                <div class="layui-inline w110">
                                    <div class="layui-inline" style="display: inline-block">
                                        <select id="dd" lay-search>
                                            <option value="">全部督导</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="layui-inline w90">
                                    <div class="layui-inline">
                                        <select name="status" lay-filter="status" id="status" lay-search="status">
                                            <option value="">全部状态</option>
                                            <option value="0" selected>未建完</option>
                                            <option value="1">已建完</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="layui-inline w160">
                                    <div class="layui-inline" style="display: inline-block">
                                        <input id="kyriqi" name="kyriqi" placeholder="开业日期" type="text"
                                               class="layui-input" style="width: 150px"/>
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <input type="button" class="layui-btn" value="查询" id="btnSearch">
                                </div>
                            </div>
                        </div>
                        <table class="layui-table" id="projectTable" lay-filter="projectTable"></table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</form>
<script type="text/html" id="statusTpl">
    {{# if(d.netshop==1){ }}
        <label class="green">已完成网上建店、</label>
    {{# }else{ }}
        <label class="red">未完成网上建店、</label>
    {{# } }}
    {{# if(d.tcOnline==1){ }}
    <label class="green">已完成线上套餐、</label>
    {{# }else{ }}
    <label class="red">未完成线上套餐、</label>
    {{# } }}
    {{# if(d.pdj==1){ }}
    <label class="green">已完成排队机</label>
    {{# }else{ }}
    <label class="red">未完成排队机</label>
    {{# } }}
</script>

<script type="text/html" id="tableBar">
    @if(shiro.hasPermission("/btyWsjd/rebut")){
    {{#  if(d.netshop == '1'){ }}
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="rebut">取消网上建店</a>
    {{# } }}
    @}
</script>

@}